<template>
  <table>
    <Dog :dog="dog" />
    <Dog :dog="dog" />
  </table>
</template>

<script>
import Dog from "@/components/dog";
export default {
  components: {
    Dog,
  },
  data() {
    return {
      dog: {
        img: "https://img1.baidu.com/it/u=2090724106,2403550826&fm=253&fmt=auto&app=120&f=JPEG?w=1127&h=800",
        title: "我是一只可爱的小狗",
      },
    };
  },
};
</script>

<style>
table {
  display: flex;
}
</style>